<template>
  <div>
    <Header />
    <router-view></router-view>
    <Footer v-if="!$route.meta.ishidden" />
  </div>
</template>

<script>
import Footer from '@/components/Footer'
import Header from '@/components/Header'

import { mapActions } from 'vuex'
export default {
  name: 'App',
  mounted() {
    this.getCatListStore()
  },

  methods: {
    ...mapActions('category', ['getCatListStore']),
  },
  components: {
    Footer,
    Header,
  },
}
</script>

<style></style>
